/* const drawUploadEl = document.querySelector('.drawerDisk');
function dragEnterEl(e) {
  let mainEl = '';
  e.preventDefault();
  console.log('位置一,进入');
  setTimeout(() => {
    mainEl = document.querySelector('.drawerDisk').querySelector('.drawerDiskModle');
    this.mainElDrop(mainEl);
  });
}

function dragoverMain(e) {
  e.dataTransfer.dropEffect = 'copy'; // 兼容某些三方应用，如圈点
  e.preventDefault();
  console.log('位置二,移动');
}
function clickMain(e) {
  e.preventDefault();
  this.dropDocShow = false;
  console.log('位置二,移动');
}
function dropMain(e) {
  e.preventDefault();
  this.dropDocShow = false; // 拖拽文件结束操作
  console.log('位置四,结束', e.dataTransfer.files);
}
export function docDropBegin() {
  drawUploadEl.addEventListener('dragenter', this.dragEnterEl, false);
  return true; // 拖拽文件进入指定位置
}

export function removeAddEventAll() {
  drawUploadEl.removeEventListener(this.dragEnterEl);
}

// 文件拖拽到指定位置
export function mainElDrop(mainEl) {
  mainEl.addEventListener('dragover', dragoverMain, false);
  mainEl.addEventListener('click', clickMain, false);
  mainEl.addEventListener('drop', dropMain, false);
}
 */
